package transport

import "lnzw/engine/actor"

type ITransport interface {
	Send(data []byte) error
	Receive() ([]byte, error)
	Close() error
	Start()
}

var TransportCatalog = "transport"

type DefaultTransport struct {
	actor.DefaultActor
}

func (p *DefaultTransport) Handle(msg actor.Msg) {

}

func NewTransport() *DefaultTransport {
	return &DefaultTransport{}
}
